package com.xjh.basestudy.designmode.createMode.createMode2_Prototype.p3_DeepClone;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author XuJianHua
 * @Date 2022/9/24 11:41
 * @Description
 */
public class BulletDeep implements Cloneable {
    @Getter
    @Setter
    private String bulletType;

    public BulletDeep(String bulletType) {
        this.bulletType = bulletType;
    }

    @Override
    public BulletDeep clone() throws CloneNotSupportedException {
        return (BulletDeep) super.clone();
    }

}
